package bean;

public class Hotel {
	private int id;
	private int cid;
	private String name;
	private String address;
	private String description;
	private String opening_time;
	private int state;
	private String cname;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCid() {
		return cid;
	}
	public void setCid(int cid) {
		this.cid = cid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getOpening_time() {
		return opening_time;
	}
	public void setOpening_time(String opening_time) {
		this.opening_time = opening_time;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public Hotel(int id, int cid, String name, String address, String description, String opening_time, int state,
			String cname) {
		super();
		this.id = id;
		this.cid = cid;
		this.name = name;
		this.address = address;
		this.description = description;
		this.opening_time = opening_time;
		this.state = state;
		this.cname = cname;
	}
	public Hotel() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Hotel [id=" + id + ", cid=" + cid + ", name=" + name + ", address=" + address + ", description="
				+ description + ", opening_time=" + opening_time + ", state=" + state + ", cname=" + cname + "]";
	}
	
	
}
